#ifndef PUSHBUTTON_H
#define PUSHBUTTON_H
#include <TimerListener.h>
#include "PushButtonListener.h"

class PushButton : public TimerListener {
  public:
    PushButton(PushButtonListener* pushButtonListener, int pushButtonPort);  /* Constructor */
    /* Methodes */
    virtual void timerCallbackFunction(int eventId);
  
  private:
    /* Attributs */
    int m_pushButtonPort;
    boolean m_state;
    PushButtonListener* m_pushButtonListener;
};

#endif /* PUSHBUTTON_H */
